package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "mall_comment_user_connect")
public class MallCommentUserConnect {
    @Id
    @Column(name = "comment_id")
    private Integer commentId;

    @Column(name = "user_id")
    private Integer userId;

    /**
     * 是否点赞 0代表为点赞 1代表点赞
     */
    @Column(name = "is_star")
    private Integer isStar;

    /**
     * @return comment_id
     */
    public Integer getCommentId() {
        return commentId;
    }

    /**
     * @param commentId
     */
    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取是否点赞 0代表为点赞 1代表点赞
     *
     * @return is_star - 是否点赞 0代表为点赞 1代表点赞
     */
    public Integer getIsStar() {
        return isStar;
    }

    /**
     * 设置是否点赞 0代表为点赞 1代表点赞
     *
     * @param isStar 是否点赞 0代表为点赞 1代表点赞
     */
    public void setIsStar(Integer isStar) {
        this.isStar = isStar;
    }
}